package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.entity.Account;

import java.math.BigDecimal;

public interface AccountService extends IService<Account> {

    public BigDecimal getBalance();

    public void pay(String password, Long orderId);

    public void refund(Long orderId);
}
